<?php
namespace app\entity;

use yii\db\ActiveRecord;

class AddressEntity extends ActiveRecord
{
    /* private $id;
     private $user_id;
     private $receive_phone;
     private $receive_name;
     private $province;
     private $city;
     private $district;
     private $detail_address;
     private $create_time;
     private $update_time;
     private $del_flag;
     private $is_default;

    */


    /**
     * @return mixed
     */
    public function getIsDefault()
    {
        return $this->is_default;
    }

    /**
     * @param mixed $is_default
     */
    public function setIsDefault($is_default)
    {
        $this->is_default = $is_default;
    }


    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param mixed $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return mixed
     */
    public function getUserId()
    {
        return $this->user_id;
    }

    /**
     * @param mixed $user_id
     */
    public function setUserId($user_id)
    {
        $this->user_id = $user_id;
    }

    /**
     * @return mixed
     */
    public function getReceivePhone()
    {
        return $this->receive_phone;
    }

    /**
     * @param mixed $receive_phone
     */
    public function setReceivePhone($receive_phone)
    {
        $this->receive_phone = $receive_phone;
    }

    /**
     * @return mixed
     */
    public function getReceiveName()
    {
        return $this->receive_name;
    }

    /**
     * @param mixed $receive_name
     */
    public function setReceiveName($receive_name)
    {
        $this->receive_name = $receive_name;
    }

    /**
     * @return mixed
     */
    public function getProvince()
    {
        return $this->province;
    }

    /**
     * @param mixed $province
     */
    public function setProvince($province)
    {
        $this->province = $province;
    }

    /**
     * @return mixed
     */
    public function getCity()
    {
        return $this->city;
    }

    /**
     * @param mixed $city
     */
    public function setCity($city)
    {
        $this->city = $city;
    }

    /**
     * @return mixed
     */
    public function getDistrict()
    {
        return $this->district;
    }

    /**
     * @param mixed $district
     */
    public function setDistrict($district)
    {
        $this->district = $district;
    }

    /**
     * @return mixed
     */
    public function getDetailAddress()
    {
        return $this->detail_address;
    }

    /**
     * @param mixed $detail_address
     */
    public function setDetailAddress($detail_address)
    {
        $this->detail_address = $detail_address;
    }

    /**
     * @return mixed
     */
    public function getCreateTime()
    {
        return $this->create_time;
    }

    /**
     * @param mixed $create_time
     */
    public function setCreateTime($create_time)
    {
        $this->create_time = $create_time;
    }

    /**
     * @return mixed
     */
    public function getUpdateTime()
    {
        return $this->update_time;
    }

    /**
     * @param mixed $update_time
     */
    public function setUpdateTime($update_time)
    {
        $this->update_time = $update_time;
    }

    /**
     * @return mixed
     */
    public function getDelFlag()
    {
        return $this->del_flag;
    }

    /**
     * @param mixed $del_flag
     */
    public function setDelFlag($del_flag)
    {
        $this->del_flag = $del_flag;
    }
     
     




    public static function tableName()
    {
       return "shop_address";
    }



}